#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
int main()
{
	int year = 1;
	int month = 1;
	int day = 2;
	scanf("%d%*c%d%*c%d", &year, &month, &day);
	printf("%d%d%d", year, month, day);

	return 0;
}